package com.zx.framework.plat.user.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * UserRank entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="s_user_rank")

public class UserRank  implements java.io.Serializable {


    // Fields    

     private String id;
     private String userId;
     private String rankId;
     private Double score;
     private String rankType;


    // Constructors

    /** default constructor */
    public UserRank() {
    }

	/** minimal constructor */
    public UserRank(String id, String userId, String rankId) {
        this.id = id;
        this.userId = userId;
        this.rankId = rankId;
    }
    
    /** full constructor */
    public UserRank(String id, String userId, String rankId, Double score, String rankType) {
        this.id = id;
        this.userId = userId;
        this.rankId = rankId;
        this.score = score;
        this.rankType = rankType;
    }

   
    // Property accessors
    @Id 
    
    @Column(name="ID", unique=true, nullable=false, length=64)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="USERID", nullable=false, length=64)

    public String getUserId() {
        return this.userId;
    }
    
    public void setUserId(String userId) {
        this.userId = userId;
    }
    
    @Column(name="RANKID", nullable=false, length=64)

    public String getRankId() {
        return this.rankId;
    }
    
    public void setRankId(String rankId) {
        this.rankId = rankId;
    }
    
    @Column(name="SCORE", precision=10)

    public Double getScore() {
        return this.score;
    }
    
    public void setScore(Double score) {
        this.score = score;
    }
    
    @Column(name="RANKTYPE", length=64)

    public String getRankType() {
        return this.rankType;
    }
    
    public void setRankType(String rankType) {
        this.rankType = rankType;
    }
   








}